negotiator.actions
Class EndNegotiation

java.lang.Object
  extended by negotiator.actions.Action
      extended by negotiator.actions.EndNegotiation

public class EndNegotiation
extends Action

Class which symbolizes the action to leave a negotiation.

Author:
Dmytro Tykhonov

Constructor Summary
EndNegotiation()
          Action to end the negotiation.
EndNegotiation(AgentID agentID)
          Action to end the negotiation.
 
Method Summary
 java.lang.String toString()
          Enforces that actions implements a string-representation.
 
Methods inherited from class negotiator.actions.Action
getAgent, getBidFromAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndNegotiation

public EndNegotiation()
Action to end the negotiation.


EndNegotiation

public EndNegotiation(AgentID agentID)
Action to end the negotiation.

Parameters:
agentID - of the opponent
Method Detail

toString

public java.lang.String toString()
Description copied from class: Action
Enforces that actions implements a string-representation.

Specified by:
toString in class Action
Returns:
string representation of action: "(EndNegotiation)".